package admin

import (
	"github.com/gin-gonic/gin"
	"outsourced-projects/service"
)

type User struct {
	service.Base
}

func (user User) Info(c *gin.Context) {
	var err error
	//数据获取
	jsondata := make(map[string]interface{})
	err = c.BindJSON(&jsondata)
	if err != nil {
		service.ReturnJson(c, 500, err.Error(), gin.H{})
		return
	}

	service.ReturnJson(c, 200, "操作成功", gin.H{})
}
